package com.seedeer.project.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seedeer.project.domain.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 系统参数
 * </p>
 *
 * @author wangqiang
 * @since 2020-04-20
 */
@TableName("bbc_sys_param")
@ApiModel(value = "SysParam对象", description = "系统参数")
public class SysParam extends BaseEntity {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父参数编码")
    @TableField("parent_code")
    private String parentCode;

    @ApiModelProperty(value = "参数编码")
    @TableField("param_code")
    private String paramCode;

    @ApiModelProperty(value = "参数中文名称")
    @TableField("param_name_cn")
    private String paramNameCn;

    @ApiModelProperty(value = "参数英文名称")
    @TableField("param_name_en")
    private String paramNameEn;

    @ApiModelProperty(value = "参数值")
    @TableField("param_value")
    private String paramValue;

    @ApiModelProperty(value = "参数排序")
    @TableField("param_sort")
    private Integer paramSort;

    @ApiModelProperty(value = "参数说明")
    @TableField("param_note")
    private String paramNote;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getParamNameCn() {
        return paramNameCn;
    }

    public void setParamNameCn(String paramNameCn) {
        this.paramNameCn = paramNameCn;
    }

    public String getParamNameEn() {
        return paramNameEn;
    }

    public void setParamNameEn(String paramNameEn) {
        this.paramNameEn = paramNameEn;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public Integer getParamSort() {
        return paramSort;
    }

    public void setParamSort(Integer paramSort) {
        this.paramSort = paramSort;
    }

    public String getParamNote() {
        return paramNote;
    }

    public void setParamNote(String paramNote) {
        this.paramNote = paramNote;
    }

    @Override
    public String toString() {
        return "SysParam{" +
                "id=" + id +
                ", parentCode=" + parentCode +
                ", paramCode=" + paramCode +
                ", paramNameCn=" + paramNameCn +
                ", paramNameEn=" + paramNameEn +
                ", paramValue=" + paramValue +
                ", paramSort=" + paramSort +
                ", paramNote=" + paramNote +
                "}";
    }
}